package com.service;

import com.pojo.Department;
import java.util.List;

public interface DepartmentService {
    // 新增部门
    void add(Department department);

    // 查询部门树形结构
    List<Department> getDepartmentTree();

    // 更新部门信息
    void update(Department department);

    // 设置部门负责人
    void setManager(Integer departmentId, Integer employeeId);
}